﻿using System;

namespace HZY.Models
{
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    /// <summary>
    /// 终端
    /// </summary>
    [Table(nameof(Terminal))]
    public class Terminal
    {
        [Key]
        public Guid Terminal_ID { get; set; } = Guid.Empty;

        /// <summary>
        /// 编号 => 备注:Terminal_Num
        /// </summary>
        public int? Terminal_Num { get; set; }

        /// <summary>
        /// 终端名称 => 备注:Terminal_Name
        /// </summary>
        public string Terminal_Name { get; set; }

        /// <summary>
        /// 终端Ip => 备注:Terminal_IpAddress
        /// </summary>
        public string Terminal_IpAddress { get; set; }

        /// <summary>
        /// 备注 => 备注:Terminal_Remarks
        /// </summary>
        public string Terminal_Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
        public DateTime? Terminal_CreateTime { get; set; }

    }
}